package com.cheems.cheems_spring_ai.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigInteger;

/**
 * 用户角色关联表
 * @TableName user_role
 */
@Data
public class UserRole {
    /**
     * 
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private BigInteger userId;

    /**
     * 
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private BigInteger roleId;
}